//
//  CZKeyboard.m
//  A01-CZ彩票
//
//  Created by apple on 15-6-16.
//  Copyright (c) 2015年 itcast. All rights reserved.
//

#import "CZKeyboard.h"

@implementation CZKeyboard

+ (instancetype)keyboardTool{
    return [[[NSBundle mainBundle] loadNibNamed:@"CZKeyboard" owner:nil options:nil] lastObject];
}

//取消
- (IBAction)cancel:(id)sender {
    if ([self.delegate respondsToSelector:@selector(keyboardDidClickedCancel:)]) {
        [self.delegate keyboardDidClickedCancel:self];
    }
}
//确定
- (IBAction)sure:(id)sender {
    if ([self.delegate respondsToSelector:@selector(keyboardDidClickedSure:)]) {
        [self.delegate keyboardDidClickedSure:self];
    }
}


@end
